// source --> https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/static/1652193501_script.js (function(){(function(){if(typeof window.console=="undefined"){var e=function(){};window.console={log:e,error:e,trace:e,dir:e,warning:e}}})();window.PROPHOTO=window.PROPHOTO||{};PROPHOTO.AMD={};PROPHOTO.site={URL:"https://www.lenslines.com/babyfotografie",wpURL:"https://www.lenslines.com/babyfotografie",wpUploadURL:"https://www.lenslines.com/babyfotografie/wp-content/uploads",themeURL:"https://www.lenslines.com/babyfotografie/wp-content/themes/prophoto5",ajaxURL:"https://www.lenslines.com/babyfotografie/wp-admin/admin-ajax.php",extResourceURL:"https://prophoto.s3.amazonaws.com",renderingMobile:false,isDev:false,wpVer:4920};PROPHOTO.browser={isTech:navigator.userAgent.indexOf("(prophototech)")!==-1,isTouchDevice:!!("ontouchstart"in window||navigator.msMaxTouchPoints)};PROPHOTO.requireCacheBuster=PROPHOTO.site.isDev?(new Date()).getTime():386;var imgDir=PROPHOTO.site.imgDir='https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/';(function(){var e=window.PROPHOTO=window.PROPHOTO||{},i=jQuery,r,n,t;e.matchProtocol=function(){var e="https:"==document.location.protocol?"https:":"http:";return function(i){return e+i.replace(/^http(s)?:/,"")}}();n=function(i,r){if(e&&e.browser&&e.browser.isTech){alert("amd-error. check console for details. script: "+i+".js");console.log(i,r)}};r=function(r){var u=[],o=true,s=e.AMD.modules,f=e.require.registeredPluginModules;if(r.length===0){return[]}i.each(r,function(r,c){var l,a=false;if(c in s){u.push(s[c])}else{if(c.indexOf("tmpl-")!==-1){a=true}if(c in f){l=f[c]+c}else{l=t+c}if(i.inArray(c,s.waiting)===-1&&i.inArray(c,s.defining)===-1){if(a){i.ajax({url:l+".html?_="+e.requireCacheBuster,cache:true,error:function(){n(l,arguments)},success:function(e){s[c]=e}})}else{i.ajax({url:l+".js?_="+e.requireCacheBuster,dataType:"script",cache:true,error:function(){n(l,arguments)}});s.waiting.push(c)}}o=false}});return o?u:false};t=e.matchProtocol(e.site.themeURL+"/js/");e.AMD=e.AMD||{};e.AMD.modules={waiting:[],defining:[]};e.define=function(n,t,u){var o=r(t),s;if(i.inArray(n,e.AMD.modules.defining)===-1){e.AMD.modules.defining.push(n)}if(arguments.length!==3){return}if(o){if(typeof u==="function"){s=u.apply(null,o);if(typeof s==="undefined"){s="loaded"}}else if(typeof u==="object"){s=u}e.AMD.modules[n]=s}else{setTimeout(function(){e.define(n,t,u)},100)}};e.require=function(i,n){var t=r(i);if(t){if(typeof n==="function"){n.apply(null,t)}}else{setTimeout(function(){e.require(i,n)},100)}};e.require.registeredPluginModules={};e.require.registerPluginModules=function(i,r){i=e.matchProtocol(i);jQuery.each(r,function(r,n){e.require.registeredPluginModules[n]=i})};if(e.site&&e.site.isDev||window.location.href.indexOf("pp_export_amd=1")!==-1){window.require=e.require;window.define=e.define}})();PROPHOTO.define("jquery",[],function(){return jQuery;});PROPHOTO.define("util",["jquery"],function(e){var t;return Function.prototype.bind||(Function.prototype.bind=function(e){if(typeof this!="function")throw new TypeError("Function.prototype.bind - not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},i=function(){return n.apply(this instanceof r&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,i.prototype=new r,i}),typeof _!="undefined"&&_.mixin({isList:function(e){return _.isArray(e)||Object.prototype.toString.call(e)==="[object Object]"}}),e.fn.toInt=function(t){t=t||"text";var n=parseInt(e(this)[t](),10);return isNaN(n)?0:n},e.fn.radioSet=function(t,n){var r=e(this),i="input[type='radio']";if(!r.is(i)){r=r.find(i);if(!r.length)return}r.filter(":checked").prop("checked",!1).removeAttr("checked"),r.filter("[value='"+t+"']").prop("checked",!0).attr("checked","checked").trigger(n!==!1?"change":"_noop")},{pageHasVertScrollbar:function(){var t=e("body"),n=e(window);return this.pageHasVertScrollbar=function(){return t.height()>=n.height()},this.pageHasVertScrollbar()},scrollbarWidth:function(){var t=e('
').appendTo("body"),n=t.children(),r=n.innerWidth()-n.height(99).innerWidth();return t.remove(),this.scrollbarWidth=function(){return r},r},intVal:function(e,t){var n=typeof e,r;return n==="boolean"?+e:n==="string"?(r=parseInt(e,t||10),isNaN(r)||!isFinite(r)?0:r):n==="number"&&isFinite(e)?e|0:0},round:function(e,t){var n;if(typeof t=="undefined"||!t)t=0;return n=Math.pow(10,t),Math.round(e*n)/n},objectCreate:function(e){function t(){}return t.prototype=e,new t},initObjectsWithWrap:function(t,n,r){t.each(function(t,i){var s=this.objectCreate(n);s[r||"wrap"]=e(i),s.init()}.bind(this))},initFormValidation:function(e){PROPHOTO.require(["form-validator"],function(t){var n=this.objectCreate(t);n.form=e,n.init()}.bind(this))},whenCssLoaded:function(e,t){var n;this.cssLoaded()?e():n=window.setInterval(function(){this.cssLoaded()&&(e(),window.clearInterval(n))}.bind(this),t||100)},cssLoaded:function(){var n,r;return t||(t=e("body")),r=t.css("border-left-color"),n=r==="rgb(255, 0, 0)"||r==="#ff0000",n?(this.cssLoaded=function(){return!0},!0):!1},scrollToBelowElement:function(t,n){var r=e("#fixed-top-wrap"),i,s,o;t.length?(t.is(":visible")?(i=t.offset().top,o=t.height()):(t.show(),i=t.offset().top,t.hide(),o=0),s=i+o,r.length&&(s-=r.outerHeight())):s=0,e("html,body").animate({scrollTop:s+"px"},450,function(){this.nodeName==="HTML"&&typeof n=="function"&&n()})},constrainDims:function(e){var t=e.width,n=e.height;return e.width>e.maxWidth&&(t=e.maxWidth,n=e.maxWidth/(e.width/e.height)),n>e.maxHeight&&(n=e.maxHeight,t=e.maxHeight/(e.height/e.width)),e.el&&e.el.css({width:t+"px",height:n+"px"}),{width:t,height:n}},GET:function(e,t){var n=(t||window.location.href).match(new RegExp("(?:\\?|&)"+e+"=([^&#]+)"));return n&&n[1]?n[1]:!1},animationTransforms:{fadeIn:{before:{opacity:"0"},after:{opacity:"1"}},fadeUp:{before:{transform:"translateY(200px)"},after:{transform:"translateY(0)"}},grow:{before:{transform:"scale(0,0)"},after:{transform:"scale(1,1)"}},swingDown:{before:{transform:"perspective(200px) rotateX(-80deg)","transform-origin":"top center","transform-style":"preserve-3d"},after:{transform:"perspective(200px) rotateX(0deg)"}}}}});PROPHOTO.define("plugins/easing",["jquery"],function(e){return e.easing.jswing=e.easing.swing,e.extend(e.easing,{def:"easeOutQuad",swing:function(t,n,r,i,s){return e.easing[e.easing.def](t,n,r,i,s)},easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},easeInQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},easeOutExpo:function(e,t,n,r,i){return t==i?n+r:r*(-Math.pow(2,-10*t/i)+1)+n},easeOutElastic:function(e,t,n,r,i){var s=1.70158,o=0,u=r;if(t==0)return n;if((t/=i)==1)return n+r;o||(o=i*.3);if(u *",this.wrap),numCols:3,colWidth:200,gutter:0,itemHeight:function(e){return e.outerHeight()}}),this.wrap.off("position").on("position",_.throttle(function(e,i){s.config=_.defaults(i||{},s.config),s.wrap.addClass(t),n.call(s),r.call(s),s.wrap.removeClass(t)},250)),this.wrap.off("add-masonry-items").on("add-masonry-items",function(e,t){s.config.$els=s.config.$els.add(t)}),this.wrap.off("iterated-position").on("iterated-position",function(){s.timesPositioned?s.timesPositioned++:(s.wrap.addClass(t),s.timesPositioned=1),s.timesPositioned<=5?(n.call(s),r.call(s),setTimeout(function(){s.wrap.trigger("iterated-position")},500)):(s.wrap.removeClass(t),s.timesPositioned=null)})}}});PROPHOTO.define("grids-masonry",["jquery","masonry-layout","util"],function(e,t,n){var r=function(r){var i=r.find(".grid-format-masonry").not(".initialized"),s,o;i.length&&(o=function(e){var t=e.find("img.grid-img"),n=e.find(".text-below"),r=e.hasClass("using-fallback-img")?0:parseInt(t.attr("height"),10),i;return this.cachedTextBelowFixedHeights?i=this.cachedTextBelowFixedHeights:(i=parseInt(e.find(".img-above").css("margin-top"),0)+parseInt(t.css("margin-top"),10)+parseInt(t.css("border-top-width"),10)+parseInt(t.css("border-bottom-width"),10)+parseInt(n.css("margin-top"),10)+parseInt(n.css("margin-bottom"),10),e.hasClass("using-fallback-img")||(this.cachedTextBelowFixedHeights=i)),r+parseInt(n.outerHeight(),10)+i},s=function(e){var t=parseInt(e.attr("data-item-height"),10);return isNaN(t)?0:t},i.each(function(){var r=n.objectCreate(t),i=e(this),u=i.attr("id"),a=i.attr("class").match(/grid-style-([a-z_]+)/).pop(),f={numCols:parseInt(i.attr("data-column-count"),10),colWidth:parseInt(i.attr("data-column-width"),10),gutter:parseInt(i.attr("data-gutter-width"),10),height:a==="img_rollover_text"?s:o};r.wrap=i,r.init(f),r.wrap.addClass("initialized"),a==="img_text_below"?i.trigger("iterated-position"):i.trigger("position")}))};return r});PROPHOTO.define("ajax-content-fetcher",["jquery"],function(e){return{ajaxFetchContent:function(t,n,r,i,s){var o;s=s||0,t.addClass("loading-content"),o={action:"pp_nopriv",handler:"ppHtml::ajaxFetchContent",handlerArgs:[n,r,s],contentWidth:i,ajaxFetching:1},PROPHOTO.lang&&(o.lang=PROPHOTO.lang),e.ajax({type:"GET",url:PROPHOTO.site.ajaxURL,timeout:3e4,data:o,success:function(n){var r=e(n).find("article.article-content");r.length||(r=e(n).filter("article.article-content")),r.length?t.trigger("ajaxContentLoaded",[r.html()]):this.error(null,null,n)},error:function(e,n,r){t.trigger("ajaxLoadingFailure",[r])},complete:function(){t.removeClass("loading-content")}})},isFetchingContent:function(e){return e.hasClass("loading-content")}}});PROPHOTO.define("ajax-content-loader-grid",["jquery","ajax-content-fetcher"],function(e,t){return{scrollBuffer:20,init:function(){this.gridItems=this.grid.find(".grid-item"),this.receptacleWraps=this.grid.find(".content-receptacle-wrap"),this.currentlyShownItem=-1,this.contentFetcher=t,this.saveGridItemData(this.gridItems,this.receptacleWraps),this.bindEvents()},saveGridItemData:function(t,n){t.each(function(n,r){var i=e(r);i.data({index:t.index(i),rowOffset:i.offset().top,receptacleWrap:i.closest(".row").next(),content:!1})}),n.each(function(t,n){var r=e(n);r.data({currentlyLoadedItem:-1})})},bindEvents:function(){this.grid.off("click"),this.grid.on("click",".grid-item",function(t){var n=e(t.currentTarget);t.preventDefault();if(!this.contentFetcher.isFetchingContent(n))if(this.currentlyShownItem!==n.data("index")){var r=this.receptacleWraps.filter(".open");r.length?this.closeReceptacle(r,function(){this.showContent(n)}.bind(this)):this.showContent(n)}else this.closeReceptacle(n.data("receptacleWrap"))}.bind(this)).on("click",".content-receptacle-close",function(t){t.preventDefault(),this.closeReceptacle(e(t.target).closest(".content-receptacle-wrap"))}.bind(this)).on("ajaxContentLoaded",".grid-item",function(t,n){var r=e(t.currentTarget);t.stopPropagation(),r.data("content",n),this.updateContent(r),this.openReceptacle(r.data("receptacleWrap"))}.bind(this)).on("ajaxGridItemsAdded",function(e,t){var n=t.gridItems,r=t.receptacles;this.gridItems=this.gridItems.add(n),this.receptacleWraps=this.receptacleWraps.add(r),this.saveGridItemData(n,r)}.bind(this)).on("ajaxLoadingFailure",".grid-item",function(t,n){window.location=e(this).find("a").eq(0).attr("href")})},showContent:function(t){var n=e("#fixed-top-wrap").length?e("#fixed-top-wrap").height()+this.scrollBuffer:this.scrollBuffer;e("body, html").animate({scrollTop:t.offset().top-n},500),t.data("content")?(t.data("receptacleWrap").data("currentlyLoadedItem")!==t.data("index")&&this.updateContent(t),this.openReceptacle(t.data("receptacleWrap"))):this.loadContent(t)},loadContent:function(e){var t=e.attr("data-content-type"),n=e.attr("data-content-id"),r=e.data("receptacleWrap").find(".article-content"),i=r.css("paddingLeft"),s=i?2*parseInt(i.replace("px",""),10):0,o=this.grid.width()-s,u=!0;this.contentFetcher.ajaxFetchContent(e,t,n,o,u)},updateContent:function(e){var t=e.data("receptacleWrap");t.data("currentlyLoadedItem",e.data("index")),t.find(".article-content").html(e.data("content"))},openReceptacle:function(t){this.currentlyShownItem=t.data("currentlyLoadedItem"),t.stop().slideDown(500,function(){e("body").trigger("new_page_content_added",[t])}).addClass("open")},closeReceptacle:function(e,t){this.currentlyShownItem=-1,e.stop().slideUp(500,function(){typeof t=="function"&&t()}).removeClass("open")}}});PROPHOTO.define("unobfuscate-emails",["jquery"],function(e){var t=function(e){var t=e.split(","),n="";for(var r=0;r<=t.length;r++)t[r]&&(n+=String.fromCharCode(t[r]));return n};return function(n){n.find(".jsobf").each(function(){var n=e(this),r=n.parents("a"),i=n.hasClass("img")?n.html():t(n.text());r.attr("href",t(r.attr("href"))),r.html(i)})}});PROPHOTO.define("element-throbber",["jquery"],function(e){return{start:function(e){var t=!1;e.addClass("throbbing").fadeTo(350,.001).attr("data-throb-interval",setInterval(function(){e.fadeTo(350,t?.001:1),t=!t},350))},stop:function(e){clearInterval(parseInt(e.attr("data-throb-interval"),10)),e.removeClass("throbbing").removeAttr("data-throb-interval").fadeTo(350,1)}}});PROPHOTO.define("contact-form",["jquery","util","element-throbber"],function(e,t,n){var r=PROPHOTO.site.wpVer<410?"jquery.ui.datepicker.min.js":"datepicker.min.js",i=PROPHOTO.site.wpVer<410?"jquery.ui.core.min.js":"core.min.js",s=PROPHOTO.site.wpURL+"/wp-includes/js/jquery/ui/"+r,o=PROPHOTO.site.wpURL+"/wp-includes/js/jquery/ui/"+i,u=PROPHOTO.matchProtocol("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"),a=function(t,r){var i=e("#pp-contact-error-msg"),s={action:"pp_nopriv",contact_form:"render",ajax:"1"};PROPHOTO.lang&&(s.lang=PROPHOTO.lang),t.find("#contactform").length?(t.find("form").hasClass("validation-initialized")||f(t),t.is(":visible")?t.slideUp(500):l(t)):(r&&n.start(r),e.ajax({type:"POST",url:PROPHOTO.site.ajaxURL,data:s,timeout:12e4,success:function(n){t.html(n).find("#referpage").val(window.location.href.replace(/#.+/,"")),e("body").trigger("new_page_content_added",[t]),f(t),l(t)},error:function(e,t){t==="timeout"&&alert("The server took too long to respond. Please reload the page and try again.")},complete:function(){r&&n.stop(r)}})),i.slideUp(500,function(){i.remove()})},f=function(n){var r=n.find("form#contactform"),i=n.find(".pp-field-date-selector"),s=n.find(".pp-field-email");i.length&&h(i),s.length&&PROPHOTO.site.renderingMobile&&s.each(function(){e(this).get(0).type="email"}),t.initFormValidation(r),c(n)},l=function(n){var r=e("header.sc:first");t.scrollToBelowElement(r,function(){n.slideToggle(500,function(){n.is(":visible")&&(n.find("#lastname").trigger("focus"),v("Show Form"))})})},c=function(r){r.find("#contactform").on("submit",function(){return!1}).on("validator_submit_success",function(i){var s=e(this),o=PROPHOTO.site.renderingMobile?s.find("div.ui-submit"):s.find("input[name='submit']"),u=e("header.sc:first");s.hasClass("submitting")||(e("#pp-contact-error-msg").remove(),s.addClass("submitting"),n.start(o),e.ajax({type:"POST",url:PROPHOTO.site.ajaxURL,data:s.serialize(),timeout:12e4,success:function(n){n.indexOf("Success")!==-1?(PROPHOTO.site.renderingMobile?window.location=p("success"):(r.before(d("success")).prev().delay(3500).slideUp(500,function(){e(this).remove()}),t.scrollToBelowElement(e("header.sc:first"),function(){r.slideUp(500,function(){e("#contactform")[0].reset()})})),v("Submit Form Success")):this.error()},error:function(n,i){var s=i=="timeout"?"timeout":"error";PROPHOTO.site.renderingMobile?window.location=p(s):(r.before(d(s)),t.scrollToBelowElement(e("header.sc:first"))),v("Submit Form Error")},complete:function(){s.removeClass("submitting"),n.stop(o)}}))})},h=function(t){document.createStyleSheet?document.createStyleSheet(u):e("head").append(''),e.getScript(o,function(){e.getScript(s,function(){e.datepicker.setDefaults({dateFormat:"MM d, yy"}),t.datepicker(),e(".ui-datepicker").addClass("notranslate")})})},p=function(e){return PROPHOTO.site.URL+"/?mobile_contact_form="+e},d=function(e){var t={};return t.success="Formular wurde erfolgreich \u00fcbertragen, Danke.\"\"",t.error="Fehler beim senden , bitte versuchen Sie es erneut .",t.timeout="The server took too long to respond. Please try again.",['
',"

",t[e],"

","
"].join("")},v=function(e){typeof ga=="function"?ga("send","event","ProPhoto Contact Form",e):typeof _gaq!="undefined"&&_gaq.push(["_trackEvent","ProPhoto Contact Form",e])};return{handleHash:function(t){t==="#contact-form"&&(PROPHOTO.site.renderingMobile?e.mobile.changePage(p("render")):a(this.formWrap))},bindClickEvents:function(){e(document).on("click","a.show-hidden-contact_form,a[href$='#contact-form']",function(t){return a(this.formWrap,e(t.target)),!1}.bind(this))},bindMobileEvents:function(){f(this.formWrap)},bindMobileContactLinks:function(){e(document).on("click","a[href$='#contact-form']",function(){return window.location=p("render"),!1})}}});PROPHOTO.define("plugins/lazyloader",["jquery"],function(e){e.fn.lazyload=function(){var t=2250,n=this,r={},i=e("body").hasClass("cant-fade-imgs-with-black"),s=function(e){return i?e.show():e.css("opacity",0).animate({opacity:1},300)};return e(window).bind("scroll",function(i){var s=e(window).scrollTop(),o=s+e(window).height()+t;for(var u in r)if(u<=o){for(var a in r[u])a=r[u][a],e(a).addClass("lazyload-loading").trigger("appear");r[u]=[]}var f=e.grep(n,function(e){return!e.loaded});n=e(f)}),this.each(function(){var t=this;t.loaded=!1,e(t).one("appear",function(){this.loaded||e("").bind("load",function(){e(t).attr("src",e(t).attr("data-lazyload-src")).removeClass("lazyload-loading"),s(e(t)),t.loaded=!0}).attr("src",e(t).attr("data-lazyload-src"))})}),n.each(function(){var t=e(this).offset().top;r[t]===undefined&&(r[t]=[]),r[t].push(this)}),e(window).trigger("scroll"),this}});PROPHOTO.define("drawers",["jquery","util"],function(e,t){var n={},r=function(){if(!t.cssLoaded())return setTimeout(r,200);var i=20*2,s=e(".drawer"),o=s.find(".drawer_content");o.css("height",e(window).height()-i+"px"),s.each(function(){var t=e(this),r=t.attr("id"),s=t.find(".tab"),o=parseInt(t.find(".drawer_content").css("width"),10)+i,u=parseInt(o*.75,10);s.on("mouseover",function(){t.css("z-index","181").animate({left:"0px"},u,"swing").addClass("open")}),PROPHOTO.browser.isTouchDevice&&(e("#inner-wrap").off("touchstart").on("touchstart",function(){t.trigger("mouseleave")}),s.on("touchstart",function(){return t.hasClass("open")?t.trigger("mouseleave"):s.trigger("mouseover"),!1})),t.on({mouseleave:function(){var e=PROPHOTO.browser.isTouchDevice?1:1e3;clearTimeout(n[r]),n[r]=setTimeout(function(){t.animate({left:"-"+o+"px"},u,"swing",function(){t.css("z-index","180").removeClass("open")})},e)},mouseenter:function(){clearTimeout(n[r])}})})};return r});PROPHOTO.define("nav-menu-util",["jquery"],function(e){var t=function(e,t){e.find("li ul").css({opacity:t}).find("ul").css({opacity:1})},n=function(){return navigator.userAgent.match(/MSIE (6|7|8)\.0/i)!==null},r=e("body");return{modifyFormat:function(){e(".suckerfish li ul a").removeAttr("title"),e(".suckerfish li ul li:has(ul)").each(function(){var t=e(this).children("a");t.html(t.html()+" »")}),e(".suckerfish li ul li ul").hover(function(){e(this).parent().children("a").css("text-decoration","underline")},function(){e(this).parent().children("a").css("text-decoration","none")})},setDropdownOpacities:function(){n()||(this.primaryNavDropdownOpacity<100&&t(e("#primary-nav"),this.primaryNavDropdownOpacity),this.secondaryNavDropdownOpacity<100&&t(e("#secondary-nav"),this.secondaryNavDropdownOpacity))},handleSuckerfishTouch:function(){var t=!1,n=e(".suckerfish li");navigator.userAgent.indexOf("Trident")!==-1&&e(".suckerfish li.has-children > a[href='#']").each(function(){e(this).attr("href","javascript: return false")}),n.on("touchstart MSPointerDown pointerdown",function(i){var s=e(this);return i.type!=="touchstart"&&i.originalEvent&&i.originalEvent.pointerType!=="touch"?!0:(clearTimeout(t),n.not(s.parents()).removeClass("sfhover"),s.addClass("sfhover"),t=setTimeout(function(){n.removeClass("sfhover"),r.focus()},6e3),e(i.target).parent().hasClass("has-children")?(i.stopPropagation(),!1):(i.stopPropagation(),!0))}),e(document).on("touchstart",function(){n.filter(".sfhover").length&&n.removeClass("sfhover")})}}});PROPHOTO.define("slideshow",["jquery","util","plugins/easing"],function(e,t){return e(document).on("click","a.no-link",function(){return!1}),{visibleImgIndex:0,stagedImgIndex:1,srcProp:window.devicePixelRatio>=1.5?"src2x":"src",superInit:function(){this.startImg.off("load error"),this.wrap.removeClass("not-loaded"),this.visibleImg=this.startImg,this.visibleImgWrap=this.startImg.parent(),this.stagedImgWrap=this.wrap.find("a.nextImg"),this.stagedImg=this.stagedImgWrap.find("img:last"),this.loadingSpinner=this.wrap.find("img.loadingSpinner"),this.invoke("postSuperInit")},invoke:function(e){typeof this[e]=="function"&&this[e]()},preparePreloading:function(){this.conf.imgs[0].ready=!0,this.conf.imgs[0].width=this.startImg.attr("width"),this.conf.imgs[0].height=this.startImg.attr("height"),this.setImgDisplayDims(this.startImg[0],0),this.applyImgDisplayDims(this.startImg,0);for(var e=1;e0},getPreloader:function(t){var n=new Image;return e(n)},setImgDisplayDims:function(e,t){var n=this.prepImgDisplayDims(e,t);this.conf.viewingAreaWidth-n.width==1&&(n.width=this.conf.viewingAreaWidth),this.conf.viewingAreaHeight-n.height==1&&(n.height=this.conf.viewingAreaHeight),this.conf.imgs[t].displayWidth=n.width,this.conf.imgs[t].displayHeight=n.height,this.conf.imgs[t].topPadding=(this.conf.viewingAreaHeight-n.height)/2},prepImgDisplayDims:function(e,t){var n,r;return n=this.conf.imgs[t].width=e.width,r=this.conf.imgs[t].height=e.height,n>this.conf.viewingAreaWidth&&(n=this.conf.viewingAreaWidth,r=Math.round(n/(e.width/e.height))),r>this.conf.viewingAreaHeight&&(r=this.conf.viewingAreaHeight,n=Math.round(r/(e.height/e.width))),{width:n,height:r}},applyImgDisplayDims:function(e,t){e.attr("width",this.conf.imgs[t].displayWidth),e.attr("height",this.conf.imgs[t].displayHeight),e.parent().css("padding-top",this.conf.imgs[t].topPadding+"px")},triggerTimedAdvance:function(){this.nextAdvance=setTimeout(function(){this.showImg(this.nextImgIndex())}.bind(this),this.conf.holdTime),typeof this.startTimer=="function"&&this.startTimer()},showImg:function(e){this.conf.imgs[e].ready?(this.hideLoadingSpinner(),this.stageImgForTransition(e),this.animateTransition()):(this.showLoadingSpinner(),this.showImgDelayTimeout&&clearTimeout(this.showImgDelayTimeout),this.showImgDelayTimeout=setTimeout(function(){this.showImg(e)}.bind(this),500))},stageImgForTransition:function(e){this.stagedImgWrap.css(this.setupStagedCSS()),this.stagedImg.attr("src",this.conf.imgs[e][this.srcProp]),typeof this.prepImgWrap=="function"&&this.prepImgWrap(this.stagedImgWrap,e),this.applyImgDisplayDims(this.stagedImg,e),this.stagedImgIndex=e},animateTransition:function(){this.transitioning=!0,this.hideVisibleImg(),this.delayBeforeShowStaged()?setTimeout(this.showStagedImg.bind(this),this.delayBeforeShowStaged()):this.showStagedImg(),setTimeout(this.transitionHalfComplete.bind(this),this.transitionTime()/2)},transitionHalfComplete:function(){this.visibleImgIndex=this.stagedImgIndex},hideVisibleImg:function(){this.visibleImgWrap.animate(this.hideVisibleCSS(),this.transitionTime(),this.transitionEasing())},showStagedImg:function(){this.stagedImgWrap.animate(this.showStagedCSS(),this.transitionTime(),this.transitionEasing(),this.transitionComplete.bind(this))},transitionTime:function(){return this.conf.transitionTime},delayBeforeShowStaged:function(){return this.animations.delayBeforeShowStaged},transitionEasing:function(){return this.animations.easing},setupStagedCSS:function(){return this.animations.setupStaged},showStagedCSS:function(){return this.animations.showStaged},hideVisibleCSS:function(){return this.animations.hideVisible},transitionComplete:function(){this.transitioning=!1,this.switchVisibleStaged(),this.showContinues()?this.triggerTimedAdvance():typeof this.stopShow=="function"&&this.stopShow(),this.invoke("postTransitionComplete")},switchVisibleStaged:function(){var e,t,n,r;e=this.stagedImgWrap,t=this.visibleImgWrap,this.visibleImgWrap=e,this.stagedImgWrap=t,n=this.stagedImg,r=this.visibleImg,this.visibleImg=n,this.stagedImg=r,this.visibleImgWrap.addClass("currentImg").removeClass("nextImg").css("z-index","1"),this.stagedImgWrap.addClass("nextImg").removeClass("currentImg").hide()},setupAnimationObjects:function(){var e=this.conf;this.animations={};switch(e.transitionType){case"steadyslide":case"slide":this.animations.setupStaged={left:e.viewingAreaWidth+"px"},this.animations.showStaged={left:"0"},this.animations.hideVisible={left:"-"+e.viewingAreaWidth+"px"},e.transitionType==="steadyslide"&&e.holdTime!==0&&(this.conf.transitionTime=this.conf.holdTime,this.conf.holdTime=0);break;case"topslide":this.animations.setupStaged={top:"-"+e.viewingAreaHeight+"px"},this.animations.showStaged={top:"0"},this.animations.hideVisible={top:e.viewingAreaHeight+"px"};break;case"fade":case"crossfade":default:this.animations.setupStaged={top:"0",left:"0",opacity:"0"},this.animations.hideVisible={opacity:0},this.animations.showStaged={opacity:1},e.transitionType=="fade"&&(this.midTransitionDelay=e.transitionTime)}this.animations.setupStaged.display="block",this.animations.setupStaged.zIndex="2",this.animations.easing=e.transitionType.indexOf("slide")!==-1?"linear":"jswing",this.animations.delayBeforeShowStaged=e.transitionType==="fade"?e.transitionTime:0},hideLoadingSpinner:function(){this.loadingSpinner.fadeOut("fast"),this.wrap.removeClass("delaying")},showLoadingSpinner:function(){this.loadingSpinner.fadeIn("fast"),this.wrap.addClass("delaying")},nextImgIndex:function(){return this.visibleImgIndex+1>this.conf.imgs.length-1?0:this.visibleImgIndex+1},showContinues:function(){return this.playing?this.conf.loopImages?!0:this.nextImgIndex()!==0:!1}}});PROPHOTO.define("slideshow-masthead",["jquery","util","slideshow"],function(e,t,n){var r={isGallery:!1,init:function(){this.superInit(),this.frame=e("img#masthead-frame"),this.hasFrame=this.frame.length,this.hasFrame&&e(document).on("click","#masthead-frame.has-link",function(){window.location.href=this.visibleImgWrap.attr("href")}.bind(this)),this.prepImgWrap(this.stagedImgWrap,1),this.prepImgWrap(this.visibleImgWrap,0),this.conf.imageOrder==="random"&&this.randomizeImgs(),this.accountForFullHeightSidebar(),this.initImgPreloading(),this.applyImgDisplayDims(this.visibleImg,0),this.setupAnimationObjects(),this.conf.transitionType==="crossfade"&&(this.animations.hideVisible.opacity=1),this.triggerTimedAdvance(),this.playing=!0,this.invoke("postInit")},prepImgWrap:function(e,t){var n=this.conf.imgs[t];n.linkURL?(e.attr("href",n.linkURL).removeClass("no-link"),this.frame.addClass("has-link")):(e.attr("href","#").addClass("no-link"),this.frame.removeClass("has-link")),n[this.srcProp].indexOf(".png")!==-1?e.addClass("png"):e.removeClass("png")},randomizeImgs:function(){var t=this.conf.imgs,n=[],r=[],i=this.startImg.attr("src"),s=i.replace("."+i.split(".").pop(),""),o=function(e){e.sort(function(){return.5-Math.random()})};e.each(t,function(e,i){t[e][this.srcProp].indexOf(s)===0?(n.push(t[e]),t[e].linkURL&&this.prepImgWrap(this.visibleImgWrap,e)):r.push(t[e])}.bind(this)),o(r),o(r),this.conf.imgs=n.concat(r)},initImgPreloading:function(){this.preparePreloading(),this.preloadImg(1)},accountForFullHeightSidebar:function(){e("body").hasClass("full-height-sidebar")&&(this.conf.viewingAreaHeight=this.conf.withSidebarViewingAreaHeight,this.conf.viewingAreaWidth=this.conf.withSidebarViewingAreaWidth)}};return e.extend({},n,r)});PROPHOTO.define("protect-images",["jquery"],function(e){var t=function(){return!1};return PROPHOTO.browser.isTech||e(document).on("contextmenu","#lightbox-nav a,#lightbox-nav,.pp-slideshow,img#lightbox-image,.pp-pinit-wrap",t),function(e){e.find(".article-content").not(".pp-img-protect-none").find("img").not(".thumbnail,.attachment-thumbnail,.allow-right-click,.psp-active,.img-as-is").add(".pp-lightbox-thumbs img").on("contextmenu",t)}});PROPHOTO.define("facebook",["jquery"],function(e){var t={parse:function(n){n.length!==1&&(n=e("body"));if(typeof window.fbAsyncInit=="undefined")window.fbAsyncInit=function(){FB.init({logging:!1,xfbml:!0,status:!1}),FB.Event.subscribe("comment.create",function(e){t.newCommentAdded(e)})};else try{FB.XFBML.parse(n[0])}catch(r){}e("#fb-root").length||e("body").append('
'),e("#facebook-jssdk").length||function(e){var t,n="facebook-jssdk",r=e.getElementsByTagName("script")[0];t=e.createElement("script"),t.id=n,t.async=!0,t.src="//connect.facebook.net/"+PROPHOTO.fb_lang+"/all.js",r.parentNode.insertBefore(t,r)}(document)},newCommentAdded:function(n){var r;try{r=parseInt(e("div[data-href='"+n.href+"']").parents("article").attr("id").replace("article-",""),10)}catch(i){}r&&e.ajax({type:"POST",url:PROPHOTO.site.ajaxURL,data:{action:"pp_nopriv",articleID:r,permalink:n.href,fb_comment_added:1},success:function(e){e.indexOf("No FB comments could be found for")!==-1&&setTimeout(function(){t.newCommentAdded(n)},3e3)}})}};return t});PROPHOTO.define("menu-position",["jquery"],function(e){return{init:function(){this.$win=e(window),this.$body=e("body"),this.primaryNav=e("#fixed-top-wrap"),this.$body.hasClass("primary-nav-fixed")?this.navTop=0:(this.navTop=this.primaryNav.offset().top,this.$win.on("scroll",this.positionMenu.bind(this)).on("touchmove",this.positionMenu.bind(this)),this.positionMenu()),this.$win.on("gestureend",function(){setTimeout(function(){document.width/window.innerWidth>1?this.$body.addClass("device-zoomed").removeClass("primary-nav-fixed"):(this.$body.removeClass("device-zoomed"),this.positionMenu())}.bind(this),10)}.bind(this))},positionMenu:function(){if(!this.$body.hasClass("device-zoomed")){var e=this.$win.scrollTop()>=this.navTop?"add":"remove";this.$body[e+"Class"]("primary-nav-fixed")}}}});PROPHOTO.require(["jquery","util","grids-overlay","grids-masonry","unobfuscate-emails","contact-form","drawers","nav-menu-util","protect-images","facebook","menu-position"],function($,a,b,c,d,e,f,g,h,j,k){$(document).ready(function(){var body=$("body");var onNewContent=function(callback){body.on("new_page_content_added",function(e,newContent){callback(newContent);});};b(body);onNewContent(b);c(body);onNewContent(c);var bindGridContentLoading=function(context){var grids=context.find(".grid.slidedown-content");if(grids.length){PROPHOTO.require(["ajax-content-loader-grid"],function(gridContentLoaderProto){grids.each(function(){var contentLoader=a.objectCreate(gridContentLoaderProto);contentLoader.grid=$(this);contentLoader.init();});});}};bindGridContentLoading(body);onNewContent(bindGridContentLoading);var initLightboxGalleries=function(context){var lightboxGalleries=context.find(".pp-lightbox.not-loaded"),masonryLBs;if(lightboxGalleries.length){masonryLBs=lightboxGalleries.filter(".format-masonry");if(!PROPHOTO.site.renderingMobile&&masonryLBs.length){PROPHOTO.require(["masonry-layout"],function(masonryLayoutProto){masonryLBs.each(function(){var masonryLayout=a.objectCreate(masonryLayoutProto),wrap=$(this).find(".pp-lightbox-thumbs"),firstThumb=wrap.find(".pp-lb-thumb:first"),borderCSS=firstThumb.css("border-width"),borderWidth=_.isNaN(parseInt(borderCSS,10))?0:parseInt(borderCSS,10),config={gutter:parseInt(wrap.attr("data-gutter"),10),numCols:parseInt(wrap.attr("data-col-count"),10),colWidth:parseInt(firstThumb.attr("width"),10)+(2*borderWidth),itemHeight:function(thumb){return parseInt(thumb.find("img.pp-lb-thumb").attr("height"),10);}};masonryLayout.wrap=wrap;masonryLayout.init(config);masonryLayout.wrap.trigger("position");});});} PROPHOTO.require(["plugins/lightbox"],function(){lightboxGalleries.each(function(){var gallery=$(this),img_loading={'url':window.devicePixelRatio>=1.3?'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/ajax-loading-bar_2x.gif':'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/ajax-loading-bar.gif','width':'112','height':'14'},img_btn_prev={'url':window.devicePixelRatio>=1.3?'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/lightbox-btn-prev_2x.gif':'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/lightbox-btn-prev.gif','width':'63','height':'32'},img_btn_next={'url':window.devicePixelRatio>=1.3?'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/lightbox-btn-next_2x.gif':'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/lightbox-btn-next.gif','width':'63','height':'32'},img_btn_close={'url':window.devicePixelRatio>=1.3?'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/lightbox-btn-close_2x.png':'https://www.lenslines.com/babyfotografie/wp-content/uploads/pp/images/lightbox-btn-close.png','width':'66','height':'22'},img_btn_pinit={'url':window.devicePixelRatio>=1.3?'https://www.lenslines.com/babyfotografie/wp-content/themes/prophoto5/images/pinit-button2.png':'https://www.lenslines.com/babyfotografie/wp-content/themes/prophoto5/images/pinit-button2.png','width':'40','height':'20'};gallery.find("a[data-dims]").prophotoLightbox({img_blank:PROPHOTO.site.themeURL+"/images/blank.gif",img_loading:img_loading,img_btn_prev:img_btn_prev,img_btn_next:img_btn_next,img_btn_close:img_btn_close,img_btn_pinit:img_btn_pinit,pinning_enabled:'off',img_fadespeed:400,border_width:10,resize_speed:400,fixed_navigation:false,btns_opacity:0.65,btn_fadespeed:200,overlay_color:'#ffffff',overlay_opacity:0.8,max_overlay_size:900,translate_image:"Image",translate_of:"of"},gallery.attr("id"));gallery.find(".pp-lightbox-thumbs a").css("opacity",0.65).hover(function(){$(this).stop().animate({opacity:1},200);},function(){$(this).stop().animate({opacity:0.65},200);});gallery.removeClass(".not-loaded");});});}};initLightboxGalleries(body);onNewContent(initLightboxGalleries);body.on("pagebeforeshow",initLightboxGalleries.bind({},body));d(body);onNewContent(d);window.ppOpenEditPage=function(e){var url=$(e.target).attr("data-edit-url");if(url&&url.match(/http(s)?:\/\//)){if(e.ctrlKey==1||e.metaKey==1){var win=window.open(url,'_blank');win.focus();}else{window.location=url;} return false;}};if(window.devicePixelRatio>=1.3){var swapRetinaSrc=function(context){context.find("img[data-src-2x],.pp-lightbox a[data-src-2x]").each(function(i,el){var $el=$(el),attr=$el.attr("data-lazyload-src")?"data-lazyload-src":el.nodeName=="A"?"href":"src",src2x=$el.attr("data-src-2x");if($el.attr(attr)!==src2x){$el.attr(attr,src2x);}});};swapRetinaSrc(body);onNewContent(swapRetinaSrc);body.on("pagebeforeshow",swapRetinaSrc.bind({},body));} var contactForm=a.objectCreate(e);if(body.hasClass("mobile")){var mobileFormInit=function(){contactForm.formWrap=$("#contact-form");contactForm.bindMobileContactLinks();if(contactForm.formWrap.length){contactForm.bindMobileEvents();}};$(document).on("pageinit",mobileFormInit);mobileFormInit();}else{contactForm.formWrap=$("#contact-form");contactForm.handleHash(window.location.hash);contactForm.bindClickEvents();body.on("show_contact_form",function(){contactForm.handleHash("#contact-form");});} var initSliders=function(context){var sliders=context.find(".pp-slider").has("script");if(sliders.length){PROPHOTO.require(["backbone"]);PROPHOTO.require(["slider/slider"],function(sliderGalleryProto){sliders.each(function(index,el){var slider=a.objectCreate(sliderGalleryProto);slider.wrap=$(el);if(slider.wrap.width()){slider.config={"navSize":8,"navFormat":"dots","navOverlaid":false,"navSeparation":0,"btnsOverlaid":true,"btnSize":0.08,"showCaptions":true,"captionsStartVisible":true,"exifStartVisible":false,"showExif":true,"iconStyle":"angle","imgBorderWidth":"0","imgSpacing":0};slider.init();}else{_.delay(initSliders.bind(null,body),100);}});});}};initSliders(body);onNewContent(initSliders);body.on("pagebeforeshow",initSliders.bind(null,body));var initGallerySlideshows=function(){var slideshows=$(".pp-slideshow-gallery.not-loaded");if(slideshows.length){PROPHOTO.require(["slideshow"]);PROPHOTO.require(["slideshow-gallery"],function(slideshowGalleryProto){slideshows.each(function(){var wrap=$(this),startImg=wrap.find("img.ss-first-img");startImg.imageLoaded(function(){var slideshow=a.objectCreate(slideshowGalleryProto);slideshow.wrap=wrap;slideshow.startImg=startImg;slideshow.conf=$.extend({},{"thumbPadding":10,"thumbOpacity":0.75,"activeThumbOpacity":1,"startPlaying":true,"controlsOverlaid":true,"controlsAutoHide":true,"controlsAutoHideTime":2200,"holdTime":2500,"transitionTime":1200,"loopImages":true,"transitionType":"fade","thumbsPagingAnimation":{"easing":"easeOutExpo","speed":900}},$.parseJSON(slideshow.wrap.find("script").html()));slideshow.init();});});});}};initGallerySlideshows(body);onNewContent(initGallerySlideshows);body.on("pagebeforeshow",initGallerySlideshows.bind({},body));var bindSlideshowPopupClicks=function(context){context.find("a.popup-slideshow").on("click",function(){var clicked=$(this),width,height,params,dims,offset,href;if(PROPHOTO.browser.isTouchDevice){href=clicked.attr("href");if(body.hasClass("ipad")){window.location.href=href+"&fullscreen=1";}else{window.location.href=href.replace("slideshow_popup=1","gallery_page=slideshow");}}else{if(clicked.hasClass("fullscreen")){width=screen.availWidth;height=screen.availHeight;}else{dims=clicked.attr("rel").split("x");width=dims[0];height=dims[1];offset=",left=20,screenX=20,top=20,screenY=20";} params="location=0,menubar=0,height="+height+",width="+width+",toolbar=0,scrollbars=0,status=0,resizable=0"+offset;window.open(clicked.attr("href"),"PopupWindow",params);} return false;});};bindSlideshowPopupClicks(body);onNewContent(bindSlideshowPopupClicks);body.on("pagebeforeshow",bindSlideshowPopupClicks.bind({},body));var initSlideshowMusicPlayers=function(context){var slideshowsWithMusic=context.find(".pp-slideshow-gallery").has(".mp3player.not-initialized");if(slideshowsWithMusic.length){PROPHOTO.require(["music-player"],function(musicPlayerProto){slideshowsWithMusic.each(function(){var musicPlayer=a.objectCreate(musicPlayerProto);musicPlayer.slideshow=$(this);musicPlayer.conf={"loop":true,"autoStart":true};musicPlayer.init();});});}};initSlideshowMusicPlayers(body);onNewContent(initSlideshowMusicPlayers);body.on("pagebeforeshow",initSlideshowMusicPlayers.bind({},body));if(!body.hasClass("mobile")){$(".article-content img[data-lazyload-src]").lazyload();} f();g.primaryNavDropdownOpacity=1;g.secondaryNavDropdownOpacity=0.93;g.setDropdownOpacities();g.modifyFormat();if(PROPHOTO.browser.isTouchDevice){g.handleSuckerfishTouch();} var mhModule=PROPHOTO.site.renderingMobile?"slideshow-masthead-mobile":"slideshow-masthead";PROPHOTO.require([mhModule],function(mhsProto){var initMastheadSlideshow=function(){var mhsWrap=$("#masthead-slideshow.not-loaded");if(mhsWrap.length){var mhsImg=mhsWrap.find("img.ss-first-img");mhsImg.imageLoaded(function(){var mhs=a.objectCreate(mhsProto);mhs.wrap=mhsWrap;mhs.startImg=mhsImg;mhs.conf={"imgs":[{"src":imgDir+"masthead_image1_1496605415.jpg","src2x":imgDir+"masthead_image1_1496605415.jpg","linkURL":false},{"src":imgDir+"masthead_image2_1496605471.jpg","src2x":imgDir+"masthead_image2_1496605471.jpg","linkURL":false},{"src":imgDir+"masthead_image3_1496605504.jpg","src2x":imgDir+"masthead_image3_1496605504.jpg","linkURL":false},{"src":imgDir+"masthead_image4_1496605897.jpg","src2x":imgDir+"masthead_image4_1496605897.jpg","linkURL":false}],"holdTime":4000,"transitionTime":800,"imageOrder":"sequential","loopImages":true,"transitionType":"crossfade","viewingAreaWidth":1040,"viewingAreaHeight":390,"withSidebarViewingAreaWidth":812,"withSidebarViewingAreaHeight":304};mhs.init();});}};initMastheadSlideshow();body.on("pagebeforeshow",initMastheadSlideshow);});if(!PROPHOTO.browser.isTech){h(body);onNewContent(h);} PROPHOTO.fb_lang='en_US';j.parse(body);onNewContent(j.parse.bind(j));body.on("pagebeforeshow",j.parse.bind(j));var bio=$("#bio"),pinterestWidgetInit=function(context){context=context||body;var pinmarklets=context.find("a.pp-pinmarklet-button").not(".initialized"),followButtons=context.find("a.pp-pinterest-follow-default").not(".initialized"),profileLinks=context.find("a.pp-pinterest-profile").not(".initialized"),pinterestUtil;if(pinmarklets.length||followButtons.length||profileLinks.length){PROPHOTO.require(["pinterest"],function(pinterestProto){pinterestUtil=a.objectCreate(pinterestProto);if(pinmarklets.length){pinmarklets.each(function(i,pinmarklet){pinterestUtil.pinmarklet=$(pinmarklet);pinterestUtil.bindPinmarkletEvents();});} if(followButtons.length||profileLinks.length){if(typeof window.parsePinBtns=="function"){window.parsePinBtns(context[0]);}else{pinterestUtil.loadJS("pinit");}}});}},pinterestWidgetNewContentInit=function(context){pinterestWidgetInit(context);setTimeout(pinterestWidgetInit,1000);};if(bio.length){bio.on("bio_shown",function(){bio.off("bio_shown");pinterestWidgetInit(bio);});} pinterestWidgetInit(body);onNewContent(pinterestWidgetNewContentInit);var isTouchDevice=body.hasClass("mobile-browser")||body.hasClass("ipad"),imagePinning=function(){var articles=body.find(".article-content");if(articles.length){articles.each(function(i,article){if($(article).find("a.pp-pinit-link").length){PROPHOTO.require(["pinterest"],function(pinterestProto){var pinterestUtil=a.objectCreate(pinterestProto);pinterestUtil.bindPinitEvents($(article),isTouchDevice);});}});}};imagePinning();onNewContent(imagePinning);body.on("pagebeforeshow",imagePinning);$("article:last").addClass("last-post");$(document).on("click","a[href='#top']",function(){$("html,body").animate({scrollTop:0},500,"easeOutExpo");return false;});$("a.type-share_on_facebook,a.type-tweet_this_url,a.type-subscribe_by_email").on("click",function(){var clicked=$(this),height=clicked.hasClass("type-subscribe_by_email")?550:275,width=clicked.hasClass("type-share_on_facebook")?665:600,href=clicked.attr("href");window.open(href,href,'location=0,menubar=0,height='+height+',width='+width+',toolbar=0,scrollbars=0,status=0');return false;});if($("#primary-nav").length){var stickyOnTouch=true,menuPositionUtil;if(!PROPHOTO.browser.isTouchDevice||stickyOnTouch){menuPositionUtil=a.objectCreate(k);a.whenCssLoaded(menuPositionUtil.init.bind(menuPositionUtil));}} if(body.hasClass("excerpted-posts")){PROPHOTO.require(["ajax-content-loader-excerpts"],function(excerptsContentLoaderProto){var contentLoader=a.objectCreate(excerptsContentLoaderProto),bindExcerptContentLoading=function(context){var articles=context.find("article");if(!articles.length){articles=context.filter("article");} if(articles.length){contentLoader.initArticles(articles);}};bindExcerptContentLoading(body);onNewContent(bindExcerptContentLoading);});}});});}());